# coding: utf-8
# Author: zhenda

# 根据手机号码限制验证码发送频率

LIMIT_SMS_CODE_BY_MOBILE = '1/minute'  # 定义常量 大写

LIMIT_SMS_CODE_BY_IP = '10/hour'
# 短信验证码的时效
SMS_CODE_EXPIRES = 5*60


# 频次表达式的格式
"""
10 per hour
10/hour
10/hour;100/day;2000 per year
100/day, 500/7days
"""